return NULL;
}
-static const cairo_user_data_key_t shadow_key;
+static const cairo_user_data_key_t original_cr_key;
static cairo_t *
gtk_css_shadow_value_start_drawing (const GtkCssValue *shadow,
clip_rect.height + 2 * clip_radius);
cairo_surface_set_device_offset (surface, clip_radius - clip_rect.x, clip_radius - clip_rect.y);
blur_cr = cairo_create (surface);
- cairo_set_user_data (blur_cr, &shadow_key, cairo_reference (cr), (cairo_destroy_func_t) cairo_destroy);
+ cairo_set_user_data (blur_cr, &original_cr_key, cairo_reference (cr), (cairo_destroy_func_t) cairo_destroy);
if (cairo_has_current_point (cr))
{
return cr;
surface = cairo_get_target (cr);
- original_cr = cairo_get_user_data (cr, &shadow_key);
+ original_cr = cairo_get_user_data (cr, &original_cr_key);
/* Blur the surface. */
_gtk_cairo_blur_surface (surface, radius);